how to change text in richtextbox wpf

70

how to change text in richtextbox wpf -

richTextBox1.Document.Blocks.Clear();
richTextBox1.Document.Blocks.Add(new Paragraph(new Run("Text")));

Comments

Submit
0 Comments